package com.css.zfzx.fxpg.modules.evaluationmap.casualty.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.evaluationmap.casualty.repository.entity.FxCasualtyEvaluationMapEntity;
import com.css.zfzx.fxpg.modules.evaluationmap.casualty.viewobjects.FxCasualtyEvaluationMapQueryParams;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */

public interface FxCasualtyEvaluationMapService {

    public JSONObject queryFxCasualtyEvaluationMaps(FxCasualtyEvaluationMapQueryParams queryParams, int curPage, int pageSize);

    public JSONObject queryFxCasualtyEvaluationMapsByFileName(FxCasualtyEvaluationMapQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    public FxCasualtyEvaluationMapEntity getFxCasualtyEvaluationMap(String id);

    public FxCasualtyEvaluationMapEntity saveFxCasualtyEvaluationMap(FxCasualtyEvaluationMapEntity qhSiteClassResult);

    public FxCasualtyEvaluationMapEntity updateFxCasualtyEvaluationMap(FxCasualtyEvaluationMapEntity qhSiteClassResult);

    public void deleteQhRiskEvaluationMaps(List<String> ids);

    public JSONObject getFxCasualtyEvaluationMaps(FxCasualtyEvaluationMapQueryParams queryParams);

    public JSONObject getFxCasualtyEvaluationMapsForSyntheticalDistrict(FxCasualtyEvaluationMapQueryParams queryParams);

    public void saveOrUpdate(FxCasualtyEvaluationMapEntity scrEntity);

    public String importTIFFileData(String filePath, String province, String city, String area, String condition, double casualtyNum, int riskLevel, String coordinate, String numGridData);

    public String judgeFileParams(String[] datas);

    public void deleteFxCasualtyEvaluationMapsByFileName(List<String> fileNames);

    public String checkPointIsInDistrict(String province, String city, String area, String rasterCoordinate);

    public Long lookUpFxCasualtyEvaluationMaps(FxCasualtyEvaluationMapQueryParams queryParams);
}
